Skip to main content

6.4.1-获取钱包可用数字币列表

#简要描述: 获取可用数字币列表

查询参数

返回值

参数名称类型参数含义参数说明
codeint请求状态通信状态 成功返回:0,其它表示失败
successboolean成功状态true 成功
messagestring描述
datajson参数参数详见下面说明
返回示例
{
"code": 0,
"success": true,
"message": null,
"data": [{
"currency": "TRX",
"name": "trx",
"display": true,
"description": "trx的币",
"symbol": "t",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"fileUrl": "https://localfile.wallet-d ev.com/attachment/download/rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"previewUrl": "https://localfile.wallet-dev.com/attachment/download/preview/rM44wzYk11lmiYKVzpFzh2KBSBn6h956"
}
},
{
"currency": "USDT",
"name": "泰达币",
"display": true,
"description": "泰达币",
"symbol": "₮",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "wnJb9x0chCpA0PH6nobtENzzw8YSiRPK",
"fileUrl": "https://localfile.wallet-dev.com/attachment/download/wnJb9x0chCpA0PH6nobtENzzw8YSiRPK",
"previewUrl": "https://localfile.wallet-dev.com/attachment/download/preview/wnJb9x0chCpA0PH6nobtENzzw8YSiRPK"
}
}
]
}
data参数说明
参数名称类型参数含义备注
currencystring币种编码
namestring币种名称
displaystring是否默认显示true
descriptiondouble币种介绍
symbolstring币种符号
typestring币种类型DIGITAL:数字币 | LEGAL:法币
decimalPlacestring支持小数位
scalestring显示精度
logostringLOGO信息
└ gidstring附件标识ID
└ fileUrlstring文件访问地址
└ previewUrldouble文件预览地址